*{
    margin: 0;
    padding: 0;
}
li{
    list-style: none;
}
body{
    background: bisque;
}

.tab-box{
    display: inline-block;
    border: 1px solid #000;
}
.tab-head-div{
    display: flex;
    justify-content: center;
    align-items: center;
    float: left;
    width: 50px;
    height: 30px;
    border: 1px solid #ccc;
    border-top: none;
    border-bottom: 1px solid red;
    cursor: pointer;
    /* 鼠标变手 */
}
.tab-body-div{
    display: none;
    border-bottom: none;

}

.tab-head .current{
    border: 1px solid red;
    border-bottom: none;
    
}
.tab-body .current{
    display: block;
    border: 1px solid red;
    border-top: none;

}